home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
comm
/
cpt152.zip
/
CPT-SORT.DOC
< prev
next >
Wrap
Text File
|
1996-05-16
|
2KB
|
41 lines
Documentation for CPT-Sort, v1.52
See CPT.DOC for usage information about CPT itself.
CPT-Sort sorts a CPT database by one or more of four different fields, each
of which may be in either ascending or descending order.
Prefacing a sort field with a hyphen (-) selects descending order.
Usage: CPT-Sort <CPT file> <sort order>
The "sort order" may be any one or more of the following:
name = sort by first name, ascending (A to Z)
-name = sort by first name, descending (Z to A)
sent = sort by messages sent, ascending (fewest messages at top)
-sent = sort by messages sent, descending (most messages at top)
oldest = sort by oldest message, ascending (new people at end)
-oldest = sort by oldest message, descending (new people at top)
newest = sort by newest message, ascending (current posters at end)
-newest = sort by newest message, descending (current posters at top)
Example: CPT-Sort cnf_123.dat -sent
Example: CPT-Sort 45.mem -sent name
Notes:
1) The output file name for CPT-Sort is the same as the input file.
2) CPT never sorts the database. That is why I wrote *this* program!
3) If you want to rank by multiple fields, just put multiple sort order
parameters on the command line, in the order of highest to lowest
priority. If you want the participants sorted primarily by oldest and
secondarily by name, then use:
CPT-Sort 123.mem oldest name